internal/strconv.floatInfo.mantbits (field)
30 uses
internal/strconv (current package)
atof.go#L375: d.Shift(int(1 + flt.mantbits))
atof.go#L379: if mant == 2<<flt.mantbits {
atof.go#L388: if mant&(1<<flt.mantbits) == 0 {
atof.go#L401: bits := mant & (uint64(1)<<flt.mantbits - 1)
atof.go#L402: bits |= uint64((exp-flt.bias)&(1<<flt.expbits-1)) << flt.mantbits
atof.go#L404: bits |= 1 << flt.mantbits << flt.expbits
atof.go#L427: if mantissa>>float64info.mantbits != 0 {
atof.go#L499: exp += int(flt.mantbits) // mantissa now implicitly divided by 2^mantbits.
atof.go#L507: for mantissa != 0 && mantissa>>(flt.mantbits+2) == 0 {
atof.go#L514: for mantissa>>(1+flt.mantbits+2) != 0 {
atof.go#L534: if mantissa == 1<<(1+flt.mantbits) {
atof.go#L540: if mantissa>>flt.mantbits == 0 { // Denormal or zero.
atof.go#L545: mantissa = 1 << flt.mantbits
atof.go#L550: bits := mantissa & (1<<flt.mantbits - 1)
atof.go#L551: bits |= uint64((exp-flt.bias)&(1<<flt.expbits-1)) << flt.mantbits
atof.go#L553: bits |= 1 << flt.mantbits << flt.expbits
ftoa.go#L19: mantbits uint
ftoa.go#L86: neg := bits>>(flt.expbits+flt.mantbits) != 0
ftoa.go#L87: exp := int(bits>>flt.mantbits) & (1<<flt.expbits - 1)
ftoa.go#L88: mant := bits & (uint64(1)<<flt.mantbits - 1)
ftoa.go#L112: mant |= uint64(1) << flt.mantbits
ftoa.go#L138: dboxFtoa(&digs, mant, exp-int(flt.mantbits), denorm, bitSize)
ftoa.go#L180: fixedFtoa(&digs, mant, exp-int(flt.mantbits), digits, prec, fmt)
ftoa.go#L192: d.Shift(exp - int(flt.mantbits))
ftoa.go#L284: if exp > minexp && 332*(d.dp-d.nd) >= 100*(exp-int(flt.mantbits)) {
ftoa.go#L294: upper.Shift(exp - int(flt.mantbits) - 1)
ftoa.go#L304: if mant > 1<<flt.mantbits || exp == minexp {
ftoa.go#L313: lower.Shift(explo - int(flt.mantbits) - 1)
ftoa.go#L506: exp -= int(flt.mantbits)
ftoa.go#L522: mant <<= 60 - flt.mantbits
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |